parent.window.onbeforeunload = null;
if (top.location !== self.location) {
	top.location.replace(self.location);
}
